package com.patterns.decorator;

/**
 * 装饰角色,为一个普通的人添加任何组合功能
 * Decorator装饰角色
 * @author huangke
 *
 */
public class PeopleDecorator implements PeopleComponent{
	
	protected PeopleComponent people;
	
	public PeopleDecorator(PeopleComponent people) {
		this.people = people;
	}

	public void doing() {
		people.doing();
	}

}
